Replace multiple strings between two indexes with in strings